doLogin2faVerify()
doLogin2faVerify(integer $user_id, array $output, \Rdb\Modules\RdbAdmin\Models\UserFieldsDb $UserFieldsDb, \Rdb\System\Libraries\Url $Url) : array
Do verify 2 step verification login.
If success:
Clear code, time, temp data, session (user_id).
Call to handleLoginSuccess() method.
If not request via ajax or rest api.
Redirect to new url.
Else.
Return redirect url and login status result.
If fail:
If not over 3 times.
It will be show http response code, error message, error form status.
If over 3 times.
If this request has not done via rest api or ajax then it will be redirect to new url if failed over x times.
Clear code, time, temp data, session (user_id).
Parameters
Warning: count(): Parameter must be an array or an object that implements Countable in phar://D:/my-work-spaces/phpDocumentor/phpDocumentor2.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275
Call Stack:
0.0643 2261448 1. {main}() D:\my-work-spaces\phpDocumentor\phpDocumentor2.phar:0
0.0645 2256584 2. require('phar://D:/my-work-spaces/phpDocumentor/phpDocumentor2.phar/bin/phpdoc') D:\my-work-spaces\phpDocumentor\phpDocumentor2.phar:10
0.1823 10359432 3. phpDocumentor\Application->run($interactive = ???) phar://D:/my-work-spaces/phpDocumentor/phpDocumentor2.phar/bin/phpdoc:23
0.1851 10507040 4. Symfony\Component\Console\Application->run($input = class phpDocumentor\Console\Input\ArgvInput { private ${Symfony\Component\Console\Input\ArgvInput}tokens = [0 => 'project:run']; private ${Symfony\Component\Console\Input\ArgvInput}parsed = []; protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; protected $options = []; protected $arguments = ['command' => 'project:run']; protected $interactive = TRUE }, $output = class phpDocumentor\Console\Output\Output { protected $logger = class Monolog\Logger { protected $name = 'phpDocumentor'; protected $handlers = [...]; protected $processors = [...]; protected $microsecondTimestamps = TRUE }; private ${Symfony\Component\Console\Output\ConsoleOutput}stderr = class Symfony\Component\Console\Output\StreamOutput { private $stream = resource(759) of type (stream); private ${Symfony\Component\Console\Output\Output}verbosity = 32; private ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(748) of type (stream); private ${Symfony\Component\Console\Output\Output}verbosity = 32; private ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private $decorated = TRUE; private $styles = [...]; private $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } } }) phar://D:/my-work-spaces/phpDocumentor/phpDocumentor2.phar/src/phpDocumentor/Application.php:183
0.1852 10507040 5. Symfony\Component\Console\Application->doRun($input = class phpDocumentor\Console\Input\ArgvInput { private ${Symfony\Component\Console\Input\ArgvInput}tokens = [0 => 'project:run']; private ${Symfony\Component\Console\Input\ArgvInput}parsed = []; protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; protected $options = []; protected $arguments = ['command' => 'project:run']; protected $interactive = TRUE }, $output = class phpDocumentor\Console\Output\Output { protected $logger = class Monolog\Logger { protected $name = 'phpDocumentor'; protected $handlers = [...]; protected $processors = [...]; protected $microsecondTimestamps = TRUE }; private ${Symfony\Component\Console\Output\ConsoleOutput}stderr = class Symfony\Component\Console\Output\StreamOutput { private $stream = resource(759) of type (stream); private ${Symfony\Component\Console\Output\Output}verbosity = 32; private ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(748) of type (stream); private ${Symfony\Component\Console\Output\Output}verbosity = 32; private ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private $decorated = TRUE; private $styles = [...]; private $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } } }) phar://D:/my-work-spaces/phpDocumentor/phpDocumentor2.phar/vendor/symfony/console/Application.php:126
0.1853 10572576 6. Symfony\Component\Console\Application->doRunCommand($command = class phpDocumentor\Command\Project\RunCommand { private ${Symfony\Component\Console\Command\Command}application = class Cilex\Provider\Console\ContainerAwareApplication { private $container = class phpDocumentor\Application { ... }; private ${Symfony\Component\Console\Application}commands = [...]; private ${Symfony\Component\Console\Application}wantHelps = FALSE; private ${Symfony\Component\Console\Application}runningCommand = ...; private ${Symfony\Component\Console\Application}name = 'phpDocumentor'; private ${Symfony\Component\Console\Application}version = 'v2.9.1-2-g7b803e1c'; private ${Symfony\Component\Console\Application}catchExceptions = TRUE; private ${Symfony\Component\Console\Application}autoExit = FALSE; private ${Symfony\Component\Console\Application}definition = class Symfony\Component\Console\Input\InputDefinition { ... }; private ${Symfony\Component\Console\Application}helperSet = class Symfony\Component\Console\Helper\HelperSet { ... }; private ${Symfony\Component\Console\Application}dispatcher = NULL; private ${Symfony\Component\Console\Application}terminalDimensions = NULL; private ${Symfony\Component\Console\Application}defaultCommand = 'list' }; private ${Symfony\Component\Console\Command\Command}name = 'project:run'; private ${Symfony\Component\Console\Command\Command}processTitle = NULL; private ${Symfony\Component\Console\Command\Command}aliases = [0 => 'run']; private ${Symfony\Component\Console\Command\Command}definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; private ${Symfony\Component\Console\Command\Command}help = 'phpDocumentor creates documentation from PHP source files. The simplest way\nto use it is:\n\n $ phpdoc run -d [directory to parse] -t [output directory]\n\nThis will parse every file ending with .php, .php3 and .phtml in and then output a HTML site containing easily readable documentation\nin